<?php

$idRecibo = $_REQUEST['idRecibo'];

$totalGeral = $_REQUEST['totalGeral'];

$recibo = $em->find("Entities\Recibo", $idRecibo);

$recibo->setValor($totalGeral);
$em->persist($recibo);


try {
	$em->flush();
} catch (Exception $e) {
}